import { http } from './http'

/**
 * 获取用户根目录下文档列表
 */
export function getOssToken (dataSource: 'aliyun' | 'rawa') {
  return http().get<any>('/api/document/ignores/oss/token', { params: { dataSource } })
}
